/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.teach.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.teach.entity.TeachDistributeClass;
import com.lczyfz.istep.modules.teach.entity.TeachDistributeStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 下发班级中间表DAO接口
 * @author cqh
 * @version 2017-03-21
 */
@MyBatisDao
public interface TeachDistributeClassDao extends CrudDao<TeachDistributeClass> {

    List<TeachDistributeClass> getByDistributeId(String distributeId);

    //根据DistributeId获取多条记录
    List<TeachDistributeClass> findListByDistributeId(TeachDistributeClass teachDistributeClass);

    //删除下发和学生关联表数据-真删除
    void deleteDistributeClass(@Param("distributeId")String distributeId);
}